﻿using CPPEI.Coolzon.Core.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Core.Repositories
{
    public interface IVersionFileDataRepository
    {
        /// <summary>
        /// 增加设计文件数据
        /// </summary>
        bool AddVersionFileData(DbContext context, VersionFileData model);
        /// <summary>
        /// 更新设计文件数据
        /// </summary>
        bool UpdateVersionFileDataById(DbContext context, VersionFileData model);
        /// <summary>
        /// 删除设计文件数据
        /// </summary>
        bool DeleteVersionFileDataById(DbContext context, Guid Id);
        /// <summary>
        /// 得到设计文件数据对象实体
        /// </summary>
        VersionFileData GetVersionFileDataById(DbContext context, Guid Id);
        /// <summary>
        /// 获得设计文件数据列表
        /// </summary>
        PagedList<VersionFileData> GetVersionFileDataList(DbContext context, int start,int limit);
    }
}
